Felix Krull [Thu, 18 Oct 2018 16:17:34 +0000 (18:17 +0200)]
Add a symlink to the package readme in the repo root
Felix Krull [Thu, 18 Oct 2018 16:16:40 +0000 (18:16 +0200)]
Keep only one license file in the repo root
Felix Krull [Wed, 17 Oct 2018 23:56:14 +0000 (01:56 +0200)]
Fix docs build hopefully
Felix Krull [Wed, 17 Oct 2018 23:37:50 +0000 (01:37 +0200)]
Always build docs
Felix Krull [Wed, 17 Oct 2018 23:23:48 +0000 (01:23 +0200)]
Build API docs with LGPL parts
Felix Krull [Wed, 17 Oct 2018 23:22:37 +0000 (01:22 +0200)]
Remove docs targets
The docs integration is now handled in build.rs if the lgpl-docs feature
is enabled.
Felix Krull [Wed, 17 Oct 2018 23:19:26 +0000 (01:19 +0200)]
libostree: include API docs at build time using a feature flag
Felix Krull [Wed, 17 Oct 2018 23:16:11 +0000 (01:16 +0200)]
libostree-sys: remove license file
Felix Krull [Wed, 17 Oct 2018 21:43:27 +0000 (23:43 +0200)]
Add libostree release task
Felix Krull [Wed, 17 Oct 2018 21:22:35 +0000 (23:22 +0200)]
Bump -sys version
Felix Krull [Wed, 17 Oct 2018 21:19:21 +0000 (23:19 +0200)]
Strip the libostree docs
See previous: it's a license complication.
Felix Krull [Wed, 17 Oct 2018 21:18:55 +0000 (23:18 +0200)]
Disable libostree docs
The API docs are LGPL2 which, if we're being strict, would make the
entire result LGPL2 if the docs are included in the binary; I assume, at
least gtk-rs makes a point to not include the docs in the main build. It
should be possible to make a build script and associated feature that
includes the API docs just for the docs build.
Felix Krull [Wed, 17 Oct 2018 21:13:24 +0000 (23:13 +0200)]
libostree: add metadata, readme, and license file
Felix Krull [Wed, 17 Oct 2018 21:12:46 +0000 (23:12 +0200)]
libostree-sys: switch to docs.rs and add license file
Felix Krull [Wed, 17 Oct 2018 20:17:07 +0000 (22:17 +0200)]
Try setting up docs.rs capable build
Felix Krull [Tue, 16 Oct 2018 19:43:26 +0000 (21:43 +0200)]
Bump -sys version
Felix Krull [Tue, 16 Oct 2018 19:30:17 +0000 (21:30 +0200)]
Remove release builds
I'm not sure they were being useful, but they sure take a long time.
Felix Krull [Tue, 16 Oct 2018 19:05:34 +0000 (21:05 +0200)]
Only publish for master & set docs urls
Felix Krull [Tue, 16 Oct 2018 18:29:01 +0000 (20:29 +0200)]
Always build docs
Felix Krull [Tue, 16 Oct 2018 18:28:37 +0000 (20:28 +0200)]
Add docs build
Felix Krull [Tue, 16 Oct 2018 17:50:26 +0000 (19:50 +0200)]
Fix Gitlab URL & remove readme
It's unnecessary.
Felix Krull [Tue, 16 Oct 2018 17:34:13 +0000 (19:34 +0200)]
Fix libostree-sys publish step
Felix Krull [Tue, 16 Oct 2018 17:27:04 +0000 (19:27 +0200)]
Add libostree-sys publish step
Felix Krull [Tue, 16 Oct 2018 15:13:46 +0000 (17:13 +0200)]
Add some metadata to libostree-sys
Felix Krull [Tue, 16 Oct 2018 17:13:23 +0000 (19:13 +0200)]
Remove package stage for now
Felix Krull [Tue, 16 Oct 2018 16:48:35 +0000 (18:48 +0200)]
Do release build and simply job names
Felix Krull [Tue, 16 Oct 2018 16:42:12 +0000 (18:42 +0200)]
Install libostree for everything, actually
Felix Krull [Tue, 16 Oct 2018 16:29:52 +0000 (18:29 +0200)]
Also install libostree-dev for libostree builds
Felix Krull [Tue, 16 Oct 2018 16:29:11 +0000 (18:29 +0200)]
Use libostree from backports
Felix Krull [Tue, 16 Oct 2018 16:24:10 +0000 (18:24 +0200)]
Install libostree in CI
Felix Krull [Tue, 16 Oct 2018 16:20:58 +0000 (18:20 +0200)]
Add CI config
Felix Krull [Tue, 16 Oct 2018 16:20:03 +0000 (18:20 +0200)]
Add workspace Cargo.toml
Felix Krull [Sun, 14 Oct 2018 13:07:15 +0000 (15:07 +0200)]
Un-bump versions
Felix Krull [Fri, 12 Oct 2018 21:46:51 +0000 (23:46 +0200)]
Exclude generated code from clippy
Felix Krull [Fri, 12 Oct 2018 21:25:31 +0000 (23:25 +0200)]
Explicitly implement PartialEq for ObjectName to satisfy clippy
Felix Krull [Fri, 12 Oct 2018 20:55:38 +0000 (22:55 +0200)]
Run cargo fmt on the custom code
Felix Krull [Tue, 9 Oct 2018 21:28:00 +0000 (23:28 +0200)]
Add include to make libostree-sys tests work
Felix Krull [Tue, 9 Oct 2018 21:27:49 +0000 (23:27 +0200)]
Regenerate libostree-sys
Felix Krull [Tue, 9 Oct 2018 21:27:36 +0000 (23:27 +0200)]
Ignore internal structs in libostree-sys
Felix Krull [Tue, 9 Oct 2018 21:11:26 +0000 (23:11 +0200)]
Generate docs for RepoExtManual
Felix Krull [Tue, 9 Oct 2018 21:11:18 +0000 (23:11 +0200)]
Copy autodocs to hand-implemented methods in RepoExtManual
Felix Krull [Tue, 9 Oct 2018 21:10:02 +0000 (23:10 +0200)]
Add docs to generated files
Felix Krull [Tue, 9 Oct 2018 21:07:07 +0000 (23:07 +0200)]
repo: newlines
Felix Krull [Tue, 9 Oct 2018 21:01:31 +0000 (23:01 +0200)]
Regenerate libostree
Felix Krull [Tue, 9 Oct 2018 21:01:06 +0000 (23:01 +0200)]
Regenerate libostree-sys
Felix Krull [Tue, 9 Oct 2018 20:24:06 +0000 (22:24 +0200)]
Add Makefile
Felix Krull [Tue, 9 Oct 2018 20:03:14 +0000 (22:03 +0200)]
Remove sample
Felix Krull [Tue, 9 Oct 2018 20:02:48 +0000 (22:02 +0200)]
Add simple repo roundtrip test
Felix Krull [Tue, 9 Oct 2018 19:13:13 +0000 (21:13 +0200)]
repo: implement list_refs and list_refs_ext
Felix Krull [Tue, 9 Oct 2018 18:57:04 +0000 (20:57 +0200)]
Add RepoListRefsExtFlags
Felix Krull [Tue, 9 Oct 2018 17:32:22 +0000 (19:32 +0200)]
object_name: extend ObjectName
Felix Krull [Sun, 7 Oct 2018 21:50:41 +0000 (23:50 +0200)]
repo: remove now-incorrect comment
Felix Krull [Sun, 7 Oct 2018 21:14:56 +0000 (23:14 +0200)]
repo: change custom new method to std::path::Path-alike
Felix Krull [Wed, 3 Oct 2018 13:22:48 +0000 (15:22 +0200)]
Add ObjectName wrapper to solve hashing issues
Felix Krull [Tue, 2 Oct 2018 20:37:42 +0000 (22:37 +0200)]
sample: try to extract a file from the repo
Felix Krull [Sun, 30 Sep 2018 13:18:54 +0000 (15:18 +0200)]
Ignore Cargo.lock in libs
Felix Krull [Sun, 30 Sep 2018 13:18:09 +0000 (15:18 +0200)]
Try implementing traverse_commit by hand
Felix Krull [Sun, 30 Sep 2018 13:17:26 +0000 (15:17 +0200)]
Generate functions and constants
Felix Krull [Sat, 29 Sep 2018 21:56:32 +0000 (23:56 +0200)]
Integrate docs into source
TODO properly document those steps
Felix Krull [Sat, 29 Sep 2018 17:14:14 +0000 (19:14 +0200)]
Add as much of Repo as easily possible
Felix Krull [Sat, 29 Sep 2018 16:21:36 +0000 (18:21 +0200)]
Add additional 'new' method to Repo
Felix Krull [Sat, 29 Sep 2018 16:03:05 +0000 (18:03 +0200)]
Add a test/sample program
Felix Krull [Sat, 29 Sep 2018 16:02:51 +0000 (18:02 +0200)]
Add a prelude module for star imports
Felix Krull [Sat, 29 Sep 2018 15:39:48 +0000 (17:39 +0200)]
Add some basic types and regenerate
Felix Krull [Sat, 29 Sep 2018 14:40:59 +0000 (16:40 +0200)]
Generate
Felix Krull [Sat, 29 Sep 2018 14:40:47 +0000 (16:40 +0200)]
Add build files for libostree
Felix Krull [Sat, 29 Sep 2018 14:23:10 +0000 (16:23 +0200)]
Start describing libostree
Felix Krull [Sat, 29 Sep 2018 13:45:04 +0000 (15:45 +0200)]
Add manual definition for stat
Felix Krull [Sat, 29 Sep 2018 13:37:23 +0000 (15:37 +0200)]
Update names and dependencies
Felix Krull [Sat, 29 Sep 2018 13:28:13 +0000 (15:28 +0200)]
Add external libraries and regenerate
Felix Krull [Sat, 29 Sep 2018 13:24:41 +0000 (15:24 +0200)]
Add initial gir output
Felix Krull [Sat, 29 Sep 2018 13:21:19 +0000 (15:21 +0200)]
Add config file and gir files
Not sure if I want to keep the gir files in the repo
Joseph Marrero Corchado [Fri, 6 May 2022 11:45:02 +0000 (07:45 -0400)]
Merge pull request #2598 from lucab/ups/without-systemd-fix
lib/ostree-sysroot-deploy: add a missing include for stdint.h
Luca BRUNO [Fri, 6 May 2022 10:07:24 +0000 (10:07 +0000)]
ci/github: add a job for --without-libsystemd
Luca BRUNO [Fri, 6 May 2022 10:07:23 +0000 (10:07 +0000)]
lib/ostree-sysroot-deploy: add a missing include for stdint.h
Jonathan Lebon [Wed, 4 May 2022 18:55:37 +0000 (14:55 -0400)]
Merge pull request #2596 from cgwalters/release-2022-3
Colin Walters [Wed, 4 May 2022 17:51:45 +0000 (13:51 -0400)]
configure: post-release version bump
Colin Walters [Wed, 4 May 2022 17:50:06 +0000 (13:50 -0400)]
Release 2022.3
Dan Nicholson [Sat, 30 Apr 2022 16:34:12 +0000 (10:34 -0600)]
Merge pull request #2593 from smcv/txn-refcount
Fix abort-on-error behaviour of transactions
Simon McVittie [Sat, 30 Apr 2022 11:53:42 +0000 (12:53 +0100)]
repo: Correctly initialize refcount of temporary transaction
Previously, the reference count was left uninitialized as a result of
bypassing the constructor, and the intended abort-on-error usually
wouldn't have happened.
Fixes: 8a9737a "repo/private: move OstreeRepoAutoTransaction to a boxed type"
Resolves: https://github.com/ostreedev/ostree/issues/2592
Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie [Sat, 30 Apr 2022 11:20:11 +0000 (12:20 +0100)]
repo: Factor out _ostree_repo_auto_transaction_new()
This will allow the direct allocation in
ostree_repo_prepare_transaction() to be replaced with a call to this
function, avoiding breaking encapsulation.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Jonathan Lebon [Tue, 26 Apr 2022 17:33:08 +0000 (13:33 -0400)]
Merge pull request #2589 from cgwalters/ostree-boot-complete
Colin Walters [Fri, 22 Apr 2022 22:46:28 +0000 (18:46 -0400)]
Add an `ostree-boot-complete.service` to propagate staging failures
Quite a while ago we added staged deployments, which solved
a bunch of issues around the `/etc` merge. However...a persistent
problem since then is that any failures in that process that
happened in the *previous* boot are not very visible.
We ship custom code in `rpm-ostree status` to query the previous
journal. But that has a few problems - one is that on systems
that have been up a while, that failure message may even get
rotated out. And second, some systems may not even have a persistent
journal at all.
A general thing we do in e.g. Fedora CoreOS testing is to check
for systemd unit failures. We do that both in our automated tests,
and we even ship code that displays them on ssh logins. And beyond
that obviously a lot of other projects do the same; it's easy via
`systemctl --failed`.
So to make failures more visible, change our `ostree-finalize-staged.service`
to have an internal wrapper around the process that "catches" any
errors, and copies the error message into a file in `/boot/ostree`.
Then, a new `ostree-boot-complete.service` looks for this file on
startup and re-emits the error message, and fails.
It also deletes the file. The rationale is to avoid *continually*
warning. For example we need to handle the case when an upgrade
process creates a new staged deployment. Now, we could change the
ostree core code to delete the warning file when that happens instead,
but this is trying to be a conservative change.
This should make failures here much more visible as is.
Colin Walters [Thu, 21 Apr 2022 22:13:07 +0000 (18:13 -0400)]
Merge pull request #2588 from cgwalters/ostree-and-ima
docs: Add new IMA document
Colin Walters [Thu, 21 Apr 2022 20:19:14 +0000 (16:19 -0400)]
Update docs/ima.md
Co-authored-by: Jonathan Lebon <jonathan@jlebon.com>
Colin Walters [Thu, 21 Apr 2022 16:04:33 +0000 (12:04 -0400)]
docs: Add new IMA document
Now that the fixed code for `ima-sign` landed in
https://github.com/ostreedev/ostree-rs-ext/pull/283
Dan Nicholson [Thu, 21 Apr 2022 01:03:16 +0000 (19:03 -0600)]
Merge pull request #2584 from cgwalters/fix-ci
ci: Mask zincati for synthetic update
Colin Walters [Thu, 21 Apr 2022 00:23:10 +0000 (20:23 -0400)]
ci: Mask zincati for synthetic update
Our CI started falling over because coreos-assembler checks
for units stuck activating as of https://github.com/coreos/coreos-assembler/pull/2810
Really need to centralize the code for this and fix the root
problem, but...not today.
xref https://github.com/coreos/coreos-assembler/pull/2814
Colin Walters [Thu, 21 Apr 2022 00:22:12 +0000 (20:22 -0400)]
Merge pull request #2583 from cgwalters/curl-check-setopt
fetcher/curl: Consistently check return value `curl_easy_setopt`
Colin Walters [Wed, 20 Apr 2022 19:16:22 +0000 (15:16 -0400)]
fetcher/curl: Consistently check return value `curl_easy_setopt`
Static analyzers don't like when we only check it sometimes.
And we definitely want to know if any of these are failing.
Colin Walters [Tue, 12 Apr 2022 15:47:07 +0000 (11:47 -0400)]
Merge pull request #2578 from lucab/ups/move-fixture
tests: move fixture to fix installed tests
Luca BRUNO [Tue, 12 Apr 2022 09:53:54 +0000 (09:53 +0000)]
tests: move fixture to fix installed tests
This moves around the packed archive for bare-split-xattrs mode,
in order to fix installed tests.
Colin Walters [Sat, 9 Apr 2022 19:46:25 +0000 (15:46 -0400)]
Merge pull request #2577 from dbnicholson/man-html
Publish man pages
Dan Nicholson [Fri, 8 Apr 2022 21:30:07 +0000 (15:30 -0600)]
docs: Publish man pages
Make a copy of `man/html` to `docs/man` and then configure Jekyll to
include it verbatim like the API docs. A link is added to the main index
and the necessary commands are added to the github docs workflow.
Dan Nicholson [Fri, 8 Apr 2022 22:51:59 +0000 (16:51 -0600)]
man: Create an HTML index
This provides something that can serve at the root of the HTML man pages
tree.
Dan Nicholson [Fri, 8 Apr 2022 21:30:23 +0000 (15:30 -0600)]
man: Use custom XSL stylesheet for HTML output
This allows using a template stolen from systemd to turn references into
links.
Dan Nicholson [Fri, 21 May 2021 17:57:54 +0000 (11:57 -0600)]
man: Allow building HTML man pages
Add a --enable-man-html configure option to build HTML man pages using a
different stylesheet. The HTML pages aren't installed as I don't know
what purpose they'd serve on an actual installation.
Dan Nicholson [Sat, 9 Apr 2022 00:01:31 +0000 (18:01 -0600)]
man: Remove unnecessary nbsp's from ostree man page
I really don't know what these were for. In both man and HTML output
with a recent version of the Docbook XSL, the command synopses are
already indented. I don't see any reason why they'd need to be manually
indented more.
Jonathan Lebon [Mon, 4 Apr 2022 18:32:52 +0000 (14:32 -0400)]
Merge pull request #2576 from cgwalters/archive-handle-null-link
Colin Walters [Mon, 4 Apr 2022 14:25:35 +0000 (10:25 -0400)]
libarchive: Handle `archive_entry_symlink()` returning NULL
The `archive_entry_symlink()` API can definitely return `NULL`,
reading through the libarchive sources.
I hit this in the wild when using old ostree-ext to try to unpack
a chunked archive.
I didn't try to characterize this more, and sorry no unit test right
now.